export type ServiceResponse<T> = {
  code: number | string
  data?: T
  msg?: string
}

export type ErrorResponse = {
  code: string | number
  data?: any
  msg?: string
}

export enum ResponseCodeEnum {
  SUCCESS_STRING = '200',
  SUCCESS_NUMBER = 200,
  ERROR_STRING = '500',
  ERROR_NUMBER = 500
}
